package com.xingmang.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* <p>
    * 
    * </p>
* @author hss
* @since 2023-06-19
*/
@Data
@TableName("tb_third_category")
@ApiModel(value = "ThirdCategory对象", description = "")
public class ThirdCategory implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("第三方应用分类")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("第三方应用分类名称")
    @TableField("category_name")
    private String categoryName;

    @ApiModelProperty("分类对应的应用数量")
    @TableField("third_count")
    private Integer thirdCount;

    @ApiModelProperty("创建人ID")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("是否删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean isDeleted;

}
